# -*- coding: utf-8 -*-
import KBEngine
import kbemain
import IKernel
from KBEDebug import *
from interfaces.CellEntityEvent import CellEntityEvent

class EngineProxy(KBEngine.Entity,
	CellEntityEvent):

	def __init__(self):
		KBEngine.Entity.__init__(self)
		CellEntityEvent.__init__(self)

		kbemain.engineProxy = self

		# 调试用的
		# 初始化各个模块
		self.IKernel = IKernel.Instance()
		# 补偿事件
		self.IKernel.onEvent(self.getScriptName(), "onInit", self.id, self.id, [False])


























